﻿@{
    ViewBag.Title = "ProductEdit";
    Layout = "~/Areas/Administrator/Views/Shared/Layout.cshtml";
}

<link rel="stylesheet" href="@Url.Content("~/Content/Admin/css/products.css")" type="text/css" media="all"/>
<link rel="stylesheet" href="@Url.Content("~/Content/Admin/css/superfish.css")" type="text/css" media="all"/>
<link rel="stylesheet" href="@Url.Content("~/Content/Admin/css/vertical_slider.css")" type="text/css" media="all"/>
<link rel="stylesheet" href="@Url.Content("~/Content/Admin/css/form.css")" type="text/css" media="all"/>
<link rel="stylesheet" href="@Url.Content("~/Content/Admin/css/jquery.lightbox-0.5.css")" type="text/css" media="all"/>

@model DE_MVC_WyFy.Models.Product
<div class="content_all">
    <div class="content-all-left">
        <div class="content-outer-small">
            <div class="content-inner-small">
                <div class="title_border-small">
                    @*<h1>Forms &amp; Tabs <span>Template</span></h1>*@
                    <h1>Thông tin sản phẩm</h1>
                </div>
                <p>Thêm mới và chỉnh sửa thông tin sản phẩm </p>
                <div class="contact_form">
                    @using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
                        <fieldset>
                            <legend>Thông tin sản phẩm</legend>
                            <ul>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.ID): </span>
                                        @*<input class="text" name="name" id="name" type="text" />*@
                                        @Html.TextBoxFor(model => model.ID, new { @class = "text" })
                                        @Html.ValidationMessageFor(model => model.ID)

                                    </div>
                                    @*<div class="form-message"><span class="validate valid">@Html.ValidationMessageFor(model => model.ID)</span></div>*@
                                </li>
                                <li>
                                    <div class="form-input-box">

                                        <span class="lable">@Html.LabelFor(model => model.Name): </span>
                                        @*<input class="text" name="name" id="name" type="text" />*@
                                        @Html.TextBoxFor(model => model.Name, new { @class = "text" })
                                        @Html.ValidationMessageFor(model => model.Name)

                                    </div>
                                    <div class="form-message"><span class="validate valid">Text has validated</span></div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.Price): </span>
                                        @*<input class="text" name="name" id="name" type="text" />*@
                                        @Html.TextBoxFor(model => model.Price, new { @class = "text" })
                                    </div>
                                    <div class="form-message"><span class="validate valid">Text has validated</span></div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.Status): </span>
                                        @Html.CheckBoxFor(c => c.Status)
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.Detail): </span>
                                        @* <textarea name="message" id="large_message" cols="30" rows="5"></textarea>*@
                                        @Html.TextAreaFor(model => model.Detail, new { @class = "message" })
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.PostedDate): </span>
                                        @Html.TextBoxFor(model => model.PostedDate, new { @class = "text" })
                                    </div>
                                    <div class="form-message"><span class="validate valid">Text has validated</span></div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.IsDeleted): </span>
                                        @Html.CheckBoxFor(c => c.IsDeleted)
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.KeyWords): </span>
                                        @* <textarea name="message" id="large_message" cols="30" rows="5"></textarea>*@
                                        @Html.TextAreaFor(model => model.KeyWords, new { @class = "message" })
                                    </div>
                                </li>
                                @*     <li>
                                    <div class="form-input-box">
                                        <label class="text">Radio Buttons :</label>
                                        <input type="radio" name="radio_btn" id="radio-1" value="1" />
                                        <label for="radio-1">all orders</label>
                                        <input type="radio" name="radio_btn" id="radio-2" value="2" />
                                        <label for="radio-2">pending</label>
                                        <input type="radio" name="radio_btn" id="radio-3" value="3" />
                                        <label for="radio-3">unshipped</label>
                                        <input type="radio" name="radio_btn" id="radio-4" value="4" />
                                        <label for="radio-4">shipped</label>
                                    </div>
                                </li>*@

                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.ProductTypeID): </span>
                                        @* <select class="select" name="subject" id="subject">
                                            <option value="General Inquiry" selected="selected">&nbsp;&nbsp;General Inquiry</option>
                                            <option value="Programming Related Question">&nbsp;&nbsp;Programming Related Question</option>
                                            <option value="Website Quote Request">&nbsp;&nbsp;Website Quote Request</option>
                                            <option value="Feedback">&nbsp;&nbsp;Feedback</option>
                                            <option value="Help and Support">&nbsp;&nbsp;Help and Support</option>
                                        </select>*@
                                        @*Chú ý: ViewBag.Pro_TypeID thì qua View ta sẽ gọi lại*@
                                        @Html.DropDownList("ProductTypeID")
                                    </div>
                                    <div class="form-message"><span class="validate invalid">Text has not validated</span></div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.nView): </span>
                                        @Html.TextBoxFor(model => model.nView, new { @class = "text" })
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.DeletedDate): </span>
                                        @Html.TextBoxFor(model => model.DeletedDate, new { @class = "text" })
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.ProductImage): </span>
                                        @Html.TextBoxFor(model => model.ProductImage, new { @class = "text" })
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <span class="lable">@Html.LabelFor(model => model.Thumbnail): </span>
                                        @Html.TextBoxFor(model => model.Thumbnail, new { @class = "text" })
                                    </div>
                                </li>
                                <li>
                                    <div class="form-input-box">
                                        <label class="lable">&nbsp;</label>
                                        <input class="submit" type="submit" name="" value="Save" id="submit_form">
                                    </div>
                                    @* <div class="form-message"><span class="validate submit">Please fill in all the fields</span></div>*@
                                </li>

                            </ul>
                        </fieldset>
                    }
                   
                </div>
            </div>
        </div>
    </div>
    <div class="content-all-right">
        <ul id="right-menu-top">
            <li><a href="" class="webdesign">Web Design</a></li>
            <li><a href="" class="corporateid">Corporate id</a></li>
            <li class="selected"><a href="" class="webaplication">Web Applications</a></li>
            <li><a href="" class="seomarketing">SEO &amp; Marketing</a></li>
        </ul>
        <div class="help-tip-box">
            <div class="help-tip-arrow"></div>
            <div class="help-tip-content">
                <p><strong>Help and tips</strong> can go here Lorem ipsum dolor sit amet, consectetuer adipiscing elit.Pellentesque lobortis lacus euismod urna. Praesent sed tortor. </p>
                <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer id lacus augue. Nullam eu diam ante, vitae porta dolor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas vulputate sapien sed turpis placerat sit amet cursus elit bibendum. Curabitur viverra sem </p>
            </div>
        </div>
        <div class="quote_small">
            <blockquote>Tips and help can also be displayed like this, t sit amet cursus elit bibendum. Curabitur viverra sem vel libero ornare elementum. Aliquam nec nunc nibh, ut molestie</blockquote>
        </div>
    </div>
     
    <br style="clear: left;" />
    <p>dfdsfs</p>
</div>
